[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FBSTP Store Packed Decimal and Pop Exception Flags: I
FBSTP memory location
Logic: [memory location] . ST
pop stack
FBSTP converts the number in ST to BCD (packed decimal) format, stores it
at memory location, and pops the stack. The value in ST is rounded to
an integer before being stored in BCD format.
--------------------------------------------------------------------------
Operands Clocks Bytes Example
FBSTP destination 520-540+EA 5 FBSTP PACKED_NUMBER
--------------------------------------------------------------------------
Note: FBSTP rounds any fractional part up by adding .5 to
the value in ST and then truncating the result.
See Also:
FST
FRNDINT
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson